package 栈.数组模拟栈;

public class B extends A {
    static {
        System.out.println("b static block");
    }
    {
        System.out.println("b block");
    }
    public B(){
        super();
    }

    @Override
    public void a() {
        System.out.println("b method invode");
    }

    public static void main(String[] args) {
        final B b = new B();
        b.a();
    }
}
